package com.jinly.ryder.flow.web.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.jinly.ryder.common.auth.annotation.Username;
import com.jinly.ryder.flow.service.model.AuditResult;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 流程审核表
 */
@Data
public class FlowAuditVO {


    private Long id;

    /**
     * 申请ID
     */
    private Long applyId;

    /**
     * 流程步骤名称
     */
    private String flowStepName;

    /**
     * 审核人
     */
    private Long auditUserId;

    @Username("auditUserId")
    private String auditUserName;

    /**
     * 审核结果
     */
    private AuditResult auditResult;

    /**
     * 审核备注
     */
    private String remark;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime created;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updated;
}
